﻿package pluginfw.proxy
{
    import flash.utils.*;
    import pluginfw.nio.*;
    import pluginfw.nio.message.*;

    public class ProxyClient extends Object
    {
        protected var allRemoteProxys:Dictionary;
        protected var transport:Transport;

        public function ProxyClient()
        {
            this.allRemoteProxys = new Dictionary();
            return;
        }// end function

        public function bind(param1:Transport) : void
        {
            this.transport = param1;
            return;
        }// end function

        function sendChange(param1:int, param2:String, param3:Object) : void
        {
            return;
        }// end function

        public function updateRemoteMessage(param1:ProxyMessage) : void
        {
            var _loc_2:* = param1.getProxyId();
            if (!this.allRemoteProxys[_loc_2])
            {
                return;
            }
            var _loc_3:* = this.allRemoteProxys[_loc_2].proxy;
            _loc_3.getReponder(param1);
            return;
        }// end function

    }
}
